package vip.xiaonuo.redis.model;

import lombok.Data;

@Data
public class DayInfo {

    private String date;

    private String week;

    private String statusDesc;

    private String status;

    private String reason;

    private Integer error_code;

    public DayInfo() {

    }

    public DayInfo(String reason, Integer error_code) {
        this.reason = reason;
        this.error_code = error_code;
    }

    public static DayInfo error(){
        return new DayInfo("请求发生错误",-1);
    }
}
